package top.cmx.learn.thread.test2;

/**
 * @author cmx
 */
public class TestLoopPrints123 {
    public static void main(String[] args) {
        LoopPrints123 loopPrints123 = new LoopPrints123();
        new Thread(() -> {
            while (true) {
                loopPrints123.print1();
            }
        }).start();
        new Thread(() -> {
            while (true) {
                loopPrints123.print2();
            }
        }).start();
        new Thread(() -> {
            while (true) {
                loopPrints123.print3();
            }
        }).start();
    }
}
